#-------------------------------------------------------------------------------
# Name:        screenManager
#-------------------------------------------------------------------------------
#!/usr/bin/env python

import Tkinter as tk

currentFrame = None
root = None

def switch_frame(frame_creation_fn):
    global currentFrame

    if currentFrame:
        currentFrame.destroy()

    currentFrame = frame_creation_fn()

def init():
    global root
    root = tk.Tk()
    root.setvar('height',400)
    root.setvar('width',400)

def run():
    root.mainloop()


#def switch_to_student_course_view():
#
#this is what the functions look like for different views.